<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>项目管理系统</title>
    <script src="../WF/Scripts/jquery/jquery.min.js"></script>
    <script src="../WF/Scripts/QueryString.js" type="text/javascript"></script>
    <script src="../WF/Scripts/bootstrap/js/jquery.min.js"></script>
    <script src="../WF/Scripts/config.js" type="text/javascript"></script>
    <script src="../WF/Comm/Gener.js" type="text/javascript"></script>
    <script src="../WF/Scripts/bootstrap/js/bootstrap.min.js"></script>
    <script src="layer/layer.js"></script>
    <script src="js/date.js"></script>
    <link href="style/index.css" rel="stylesheet" />
    <link href="css/reset.css" rel="stylesheet" />
</head>
<body class="main">
    <div class="top">
        <div class="time">
            <img src="image/mh/time.png" />
            <span class="nowTime"></span>
        </div>
        <div class="title">项目管理系统</div>
        <div class="out">
            <span class="outBox" onclick="logout()">
                <img src="image/mh/out.jpg">
                <span>退出</span>
            </span>
        </div>
    </div>
    <div class="bottom" style="margin-top: 0.96vh;">
        <div class="boxT boxTHover" onclick="ToPM('pms','xmxqsb','项目管理系统')">
            <!--<span class="static static_xmglxt"></span>-->
            <span class="system_name">项目管理系统</span>
        </div>
    </div>
    <div class="bottom"  style="margin-top: 0.96vh;">
       
        <div class="boxT" onclick="ToOtherSys()">
            <!--<span class="static static_ghglxt"></span>-->
            <span class="system_name">规划管理系统</span>
        </div>
        <div class="boxT" onclick="ToOtherSys()">
            <!--<span class="static static_gxsys"></span>-->
            <span class="system_name">共享实验室<br><i class="ITop">管理系统</i></span>
        </div>
        <div class="boxT" onclick="ToOtherSys()">
            <!--<span class="static static_xljd"></span>-->
            <span class="system_name">训练基地场地<br><i class="ITop">管理系统</i></span>
        </div>
        <div class="boxT" onclick="ToOtherSys()">
            <!--<span class="static static_xlbz"></span>-->
            <span class="system_name">训练保障资源<br><i class="ITop">管理系统</i></span>
        </div>
        <div class="boxT" onclick="ToOtherSys()">
            <!--<span class="static static_zjk"></span>-->
            <span class="system_name">训练条件专家库<br><i class="ITop">管理系统</i></span>
        </div>
    </div>
    <div class="footer">技术支持：珠海高凌信息科技股份有限公司</div>
    <script src="js/pubtools.js"></script>
    <script>
        $(function () {
            var webUser = new WebUser();
            if (webUser.No == "") {
                layer.alert("登录信息丢失, 请重新登录.", { icon: 5 }, function (index) {
                    SetHref("./Login.htm");
                    layer.close(index);
                });

            }
            if (webUser.FK_Dept == "9999") {
                var data = window.location.href;
                data = data.replace(/index.html/, "Default.htm");
                SetHref(data);
            }
            var dotype = GetQueryString("DoType");
            if (dotype == "Logout") {

                return;
            }
        })
        function ToOtherSys() {
            layer.msg("<span style='color:white;font-size:20px;'>链接到其他系统!</span>");
        }
        function ToPM(moId, systemId, moName) {
            var data = window.location.href;
            data = data.replace(/index.html/, "Default.htm");
            SetHref(data);
            return;
            if (moId == "pms") {
                var menuData = getMenus(systemId);
                if (menuData.System.length == undefined || menuData.System.length == 0) {
                    layer.msg("<span style='color:red;font-size:24px;'>没有取得[" + moName + "]模块访问授权!</span>");
                    return;
                }
                var data = window.location.href;
                data = data.replace(/index.html/, "Default.htm");
                window.location.href = data + "&sysNo=" + systemId;
            }
            if (systemId == 'xmtsfx') {
                var data = window.location.href;
                data = data.replace(/index.html/, "chart/screen.html");
                window.location.href = data + "&sysNo=" + systemId;
            }
            if (systemId == 'xlzygx') {
                var data = window.location.href;
                data = data.replace(/index.html/, "xlzygx.html");
                window.location.href = data;
            }
            if (systemId == 'cjkcpk') {
                var data = window.location.href;
                data = data.replace(/index.html/, "cjkcpk.html");
                window.location.href = data;
            }
        }

        function logout() {

            if (confirm("提示确定需要退出？") == false)
                return;

            var handler = new HttpHandler("BP.WF.HttpHandler.WF_Portal");
            var data = handler.DoMethodReturnString("Default_LogOut");
            data = data.replace(/Login.htm/, "Login.htm");
            window.location.href = data; // "Login.html?DoType=Logout";
        }

        var timer1 = setInterval(function () {
            var str = getYear() + '&nbsp;' + getWeekDate() + '&nbsp;' + getHours();
            $('.nowTime').html(str);
        }, 1000);
        $('.boxT').hover(function () {
            $('.boxT').removeClass('boxTHover');
            $(this).addClass("boxTHover");
        });
    </script>
</body>
</html>